
    // astrict限制      interval间隔
    function astrict(fn,interval=200){
        let timer=null
        return function(){
            fn =fn.bind(this)
            if(timer){
                clearTimeout(timer)
            }
            timer =setTimeout(function(){
                fn()
            },interval )
        }
    }
